#ifndef LAZY_FLAGS_H
#define LAZY_FLAGS_H

#include "type.h"

#define AVM_LF_INSTR_ADD8 1


#define EflagsCFMask (1 << 0)
#define EflagsPFMask (1 << 2)
#define EflagsAFMask (1 << 4)
#define EflagsZFMask (1 << 6)
#define EflagsSFMask (1 << 7)
#define EflagsOFMask (1 << 11)


struct avm_lf_flags_entry {
	avm_addr op1;
	avm_addr op2;
	avm_addr result;
	unsigned instr;
};

#endif
